SaveAsJpeg(String,Nullable<Rectangle>,Int32) Method
In This Topic
Saves the image to a file in JPEG format with specified quality (from 0 to 100).
Syntax
'Declaration
Public Overloads Sub SaveAsJpeg( _
ByVal As System.String, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Integer _
)
public void SaveAsJpeg(
System.string ,
System.Nullable<Rectangle> ,
System.int
)
Parameters
- path
- The output file path.
- clipRect
- Clipping rectangle of the image to be saved.
- quality
- The image quality from 0 (best compression) to 100 (best quality).
See Also